﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProfileList.ascx.cs" Inherits="ThrongIn.ProfileList" %>

<asp:DataList ID="profileDataList" runat="server" OnItemDataBound="profileDataList_ItemDataBound" >
<ItemTemplate>
<div class="box" id="divBox" runat="server" visible="false">
            <p class="pad1"><b><a href="ProfileDetail.aspx?cid=<%# Eval("Category_Id") %>&pid=<%# Eval("Profile_Id") %>"> <%# Eval("Profile_Title") %></a></b></p>
            <a href="ProfileDetail.aspx?cid=<%# Eval("Category_Id") %>&pid=<%# Eval("Profile_Id") %>"><img ID="imgProfile" runat="server"/></a>
            <p class="para20">
            	 <%# Eval("Profile_Desc") %>
            </p>           
            <div class="clearfloat"></div>
</div>
<div class="box-small" id="divBoxSmall" runat="server" visible="false">
            <p class="pad1 center"><b><a href="ProfileDetail.aspx?cid=<%# Eval("Category_Id") %>&pid=<%# Eval("Profile_Id") %>"> <%# Eval("Profile_Title") %></a></b></p>
            <a href="ProfileDetail.aspx?cid=<%# Eval("Category_Id") %>&pid=<%# Eval("Profile_Id") %>"><img ID="imgProfile1" runat="server"/></a>                     
            <div class="clearfloat"></div>
</div>
</ItemTemplate> 
</asp:DataList>